package com.ruoyi.eam.doman;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 资产变更从对象 eam_chg_d
 *
 * @author ruoyi
 * @date 2024-07-01
 */
public class EamChgD extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 变更id */
    @Excel(name = "变更id")
    private Long alterationId;

    /** 资产id */
    @Excel(name = "资产id")
    private Long assetId;

    /** 变更数量 */
    @Excel(name = "变更数量")
    private Long count;

    public void setAlterationId(Long alterationId)
    {
        this.alterationId = alterationId;
    }

    public Long getAlterationId()
    {
        return alterationId;
    }
    public void setAssetId(Long assetId)
    {
        this.assetId = assetId;
    }

    public Long getAssetId()
    {
        return assetId;
    }
    public void setCount(Long count)
    {
        this.count = count;
    }

    public Long getCount()
    {
        return count;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("alterationId", getAlterationId())
            .append("assetId", getAssetId())
            .append("count", getCount())
            .toString();
    }
}
